<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>助力</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css"/>
    <script src="/js/jquery-1.11.3.min.js" type="text/javascript"></script>
    <script src="/js/bootstrap.min.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/css/common.css"/>

    <style>
        .tip {
            float: left;
            position: absolute;
            margin-left: 80px;
            margin-top: 122px;

            font-size: 18px;
            line-height: 30px;
        }

        .avatar {
            float: left;
            position: absolute;
            margin-left: 280px;
            margin-top: 45px;

            width: 100px;
            height: 30px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-offset-3 col-md-6">
            <div class="tip">你的好友${name!''}参与了抽奖，<br/>你的助力可以帮他获得优惠券</div>
            <img class="avatar" src="/img/${avatar}">

            <img class="bkg" src="/img/zhulitu.jpg" width="400px">
            <br/>
            <a id="help" class="buy" href="#" onclick="help()">帮好友助力</a>
        </div>
    </div>
</div>
<script>
    function help() {
        alert("完成好友助力!");
    }
</script>

<script>
    let data = "${data}";
</script>
</body>
</html>
